package pojo;

public class User {
    private int id      ;
    private String username;
    private String password;
    private String gender  ;
    private String  contactInformation  ;
    private String signature;

    public User() {
    }

    public User(int id, String username, String password, String gender, String contactInformation, String signature) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.contactInformation = contactInformation;
        this.signature = signature;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return contactInformation
     */
    public String getContactInformation() {
        return contactInformation;
    }

    /**
     * 设置
     * @param contactInformation
     */
    public void setContactInformation(String contactInformation) {
        this.contactInformation = contactInformation;
    }

    /**
     * 获取
     * @return signature
     */
    public String getSignature() {
        return signature;
    }

    /**
     * 设置
     * @param signature
     */
    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String toString() {
        return "User{id = " + id + ", username = " + username + ", password = " + password + ", gender = " + gender + ", contactInformation = " + contactInformation + ", signature = " + signature + "}";
    }
}
